﻿@using Abp.Timing
@{
    Layout = null;
    SetAntiForgeryCookie();
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>@ViewBag.Title</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/Content/hplus/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="/Content/hplus/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/Content/hplus/css/animate.min.css" rel="stylesheet">
    <link href="/Content/hplus/css/style.min.css?v=4.0.0" rel="stylesheet">

    <!-- Sweet Alert -->
    <link href="/Content/hplus/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">

    <link href="/Content/hplus/css/plugins/toastr/toastr.min.css" rel="stylesheet">
    <base target="_blank">
    @RenderSection("Head",false)
</head>
<body class="gray-bg">
    <div id="vue-root">
        <div class="wrapper wrapper-content animated fadeInUp">
            <div class="row">
                <div class="col-sm-12">
                    <div class="ibox">
                        @RenderBody()
                    </div>
                </div>
            </div>
        </div>
        @* 为了简单,没有写vue 的modal组件,模拟了一个 *@
        @RenderSection("modal",false)
    </div>
<script src="/Content/hplus/js/jquery.min.js?v=2.1.4"></script>
@*<script src="/Content/hplus/js/bootstrap.min.js?v=3.3.5"></script>*@
<script src="/Content/hplus/js/content.min.js?v=1.0.0"></script>

    <script src="~/Content/moment/moment.js"></script>
<script src="/Content/hplus/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="/Content/hplus/js/plugins/toastr/toastr.min.js"></script>
<script src="~/Abp/Framework/scripts/abp.js"></script>
<script src="~/Abp/Framework/scripts/libs/abp.jquery.js"></script>
<script src="~/Abp/Framework/scripts/libs/abp.sweet-alert.js"></script>
<script src="~/Abp/Framework/scripts/libs/abp.toastr.js"></script>
<script src="~/AbpScripts/GetScripts?v=@(Clock.Now.Ticks)" type="text/javascript"></script>
<script>
    $(document).ready(function() {
        $("#loading-example-btn").click(function() {
            btn = $(this);
            simpleLoad(btn, true);
            simpleLoad(btn, false)
        })
    });

    function simpleLoad(btn, state) {
        if (state) {
            btn.children().addClass("fa-spin");
            btn.contents().last().replaceWith(" Loading")
        } else {
            setTimeout(function() {
                btn.children().removeClass("fa-spin");
                btn.contents().last().replaceWith(" Refresh")
            }, 2000)
        }
    };

</script>
@RenderSection("Foot", false)
</body>
</html>